package com.ruoyi.wechat.mapper;

import java.math.BigDecimal;
import java.util.List;
import com.ruoyi.wechat.domain.Appointment;

/**
 * 营地预约Mapper接口
 * 
 * @author ruoyi
 * @date 2024-07-30
 */
public interface AppointmentMapper 
{

    List<Integer> listInfoNumber();

    List<BigDecimal> getSalesMoney();
    /**
     * 查询营地预约
     * 
     * @param appointId 营地预约主键
     * @return 营地预约
     */
    public Appointment selectAppointmentByAppointId(String appointId);

    /**
     * 查询营地预约列表
     * 
     * @param appointment 营地预约
     * @return 营地预约集合
     */
    public List<Appointment> selectAppointmentList(Appointment appointment);

    /**
     * 新增营地预约
     * 
     * @param appointment 营地预约
     * @return 结果
     */
    public int insertAppointment(Appointment appointment);

    /**
     * 修改营地预约
     * 
     * @param appointment 营地预约
     * @return 结果
     */
    public int updateAppointment(Appointment appointment);

    /**
     * 删除营地预约
     * 
     * @param appointId 营地预约主键
     * @return 结果
     */
    public int deleteAppointmentByAppointId(String appointId);

    /**
     * 批量删除营地预约
     * 
     * @param appointIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAppointmentByAppointIds(String[] appointIds);
}
